<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" th:href="@{/css/base.css}"/>
    <link rel="stylesheet" th:href="@{/css/jquery.dialog.css}"/>
    <link rel="stylesheet" th:href="@{/css/index.css}"/>
    <title>选课系统</title>
</head>

<body>
<script type="text/javascript" th:src="@{/js/jquery.js}"></script>
<div id="container">
    <div id="hd">
        <div class="hd-wrap ue-clear">
            <div class="top-light"></div>
            <h1 class="logo"></h1>
            <div class="login-info ue-clear">
                <div class="welcome ue-clear">
                    <a href="javascript:;" class="user-name" th:text="${admin.name}"></a>
                </div>
            </div>
            <div class="toolbar ue-clear">
                <a href="javascript:;" class="quit-btn exit"></a>
            </div>
        </div>
    </div>
    <div id="bd">
        <div class="wrap ue-clear">
            <div class="sidebar">
                <h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                    <li class="index">
                        <div class="nav-header">
                            <a href="#" date-src="/course/list" class="ue-clear">
                                <span>课程管理</span>
                            </a>
                        </div>
                    </li>
                    <li class="modify">
                        <div class="nav-header">
                            <a href="#" date-src="/student/list" class="ue-clear">
                                <span>学生管理</span>
                            </a>
                        </div>
                    </li>
                </ul>
            </div>
            <div class="content">
                <iframe id="iframe" width="100%" height="100%" frameborder="0"></iframe>

                <script type="text/javascript">
                    $('#iframe').attr('src', '/course/list');
                </script>

            </div>
        </div>
    </div>
    <div id="ft" class="ue-clear">
    </div>
</div>
<div class="exitDialog">
    <div class="dialog-content">
        <div class="ui-dialog-icon"></div>
        <div class="ui-dialog-text">
            <p class="dialog-content">你确定要退出系统？</p>
            <p class="tips">如果是请点击“确定”，否则点“取消”</p>

            <div class="buttons">
                <a href="logout"><input type="button" class="button long2 ok" value="确定" /></a>
                <input type="button" class="button long2 normal" value="取消" />
            </div>
        </div>

    </div>
</div>
</body>
<script type="text/javascript" th:src="@{/js/common.js}"></script>
<script type="text/javascript" th:src="@{/js/core.js}"></script>
<script type="text/javascript" th:src="@{/js/jquery.dialog.js}"></script>
<script type="text/javascript" th:src="@{/js/index.js}"></script>

</html>
